package com.example.assignment5.controller;

import com.example.assignment5.entity.Product;
import com.example.assignment5.exception.ProductAdminException;
import com.example.assignment5.service.ProductService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.data.domain.Sort;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.*;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Api(tags="商品管理")
@RestController
@RequestMapping("products")
public class ProductController {

    @Autowired
    ProductService productService;


}
